package me.mock.ao;

import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedHelpers;

public class FileExistsHook extends XC_MethodHook
{
	@Override
	protected void beforeHookedMethod(MethodHookParam param) throws Throwable
	{
		String name = (String) XposedHelpers.callMethod(param.thisObject, "getName", new Object[0]);
		if ("su".equals(name))
		{
			param.setResult(false);
			return;
		}
	}
}
